export const singer = state => state.singer

export const playing = state => state.playing
export const fullScreen = state => state.fullScreen
export const playList = state => state.playList
export const sequenceList = state => state.sequenceList
export const mode = state => state.mode
export const currentIndex = state => state.currentIndex
export const disc = state => state.disc
export const topList = state => state.topList
export const toastMsg = state => state.toastMsg
export const menuSong = state => state.menuSong
export const searchHistory = state => state.searchHistory
export const playHistory = state => state.playHistory
export const favoriteList = state => state.favoriteList
export const showTab = state => state.showTab
export const confirmOption = state => state.confirmOption

export const currentSong = (state) => {
    return state.playList[state.currentIndex] || {}
}
